//
//  SDCommentTableViewCell.m
//  YYPHSpeedJump
//
//  Created by speedjump on 15/12/25.
//  Copyright © 2015年 sujiang. All rights reserved.
//

#import "SDCommentTableViewCell.h"

@implementation SDCommentTableViewCell

- (void)awakeFromNib {
    // Initialization code
    _baseView.backgroundColor = kColors(239, 239, 244, 1);
    self.baseLabel.backgroundColor = kColors(239, 239, 244, 1);
}
- (void)setModel:(SDCommentModel *)model
{
    _model = model;
    self.userName.text = model.nickname;
    [self.userPhoto sd_setImageWithURL:[NSURL URLWithString:model.head_img_url]placeholderImage:nil];
    self.comment.text = model.comment;
    self.time.text = model.create_time;
    // NSLog(@"%@",model.comment);
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end

